export default defineAppConfig({
  pages: [
    'pages/index/index',
    'pages/index/anomalousEquipment/AnomalousEquipment',
    'pages/index/anomalousEquipment/errDetail/ErrDetail',
    'pages/index/videoSurveillance/VideoSurveillance',
    'pages/netMap/netMap',
    'pages/netMap/selectLivestock/SelectLivestock',
    'pages/cattle/cattle',
    'pages/cattle/cattleDetail/CattleDetail',
    'pages/management/management',
  ],
  entryPagePath: 'pages/cattle/cattle',
  window: {
    backgroundTextStyle: 'light',
    navigationBarBackgroundColor: '#fff',
    navigationBarTitleText: 'WeChat',
    navigationBarTextStyle: 'black'
  },
  tabBar: {
    color: '#323335',
    list: [
      {
        pagePath: 'pages/index/index',
        text: '首页',
        iconPath: './assets/images/home.png',
        selectedIconPath: './assets/images/home-active.png'
      },
      {
        pagePath: 'pages/netMap/netMap',
        text: '地图',
        iconPath: './assets/images/map.png',
        selectedIconPath: './assets/images/map1.png'
      },
      {
        pagePath: 'pages/cattle/cattle',
        text: '牲畜',
        iconPath: './assets/images/cattle.png',
        selectedIconPath: './assets/images/cattle1.png'
      },
      {
        pagePath: 'pages/management/management',
        text: '我的',
        iconPath: './assets/images/management.png',
        selectedIconPath: './assets/images/management1.png'
      }
    ]
  }
})
